<?php
/*************

*
**
***
****
*****

**************/

for ($j = 1; $j <= 5 ; printf("\n"),$j++)
for ($i = 1; $i <= $j ; printf('*'),$i++);

